home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-10-05 | 1.1 KB | 40 lines | [TEXT/MPS ] |
- # InstallVUHelp script
- #
- # This script is designed to install VU Help information into the MPW.Help
- # file of the MPW 3.0 release or later.
- #
- Set SavedCaseSensitive ""
- Set SavedCaseSensitive {CaseSensitive}
- Set CaseSensitive 0
- If `Exists "{ShellDirectory}MPW.Help"`
- Open "{ShellDirectory}MPW.Help"
- Target "{Active}"
- Find •
- Find /•∂tVU∂t∂t∂t∂t∂# Virtual User test tool/ ||
- Begin
- Find /•∂tUserVariables/
- Replace /•/ "∂tVU∂t∂t∂t∂t∂# Virtual User test tool∂n"
- End #If not already installed
- Find /•VU∂t∂t∂t∂t∂# Virtual User test tool/ ||
- Begin
- Find /•UserVariables/
- Find /•-/
- if `Exists VU.Help` != ""
- catenate VU.Help > "{Target}".§
- else
- set exit 0
- Set helppath ""
- Beep
- (Set helppath `getfilename -m 'Find help file VU.Help'`) ∑ dev:null
- set exit 1
- if "{helppath}" != ""
- catenate "{helppath}" > "{Target}".§
- end #if helppath dialog not cancelled
- end #if VU.Help exists
- End #If not already installed
-
- Save "{ShellDirectory}MPW.Help"
- Close "{ShellDirectory}MPW.Help"
- End #if MPW.Help exists
-
- Set CaseSensitive SavedCaseSensitive